import request from '@/utils/request'

export function getList(query) {
  return request({
    url: '/finance/client/deposit/getList',
    method: 'post',
    data: query
  })
}
export function depositSave(query) {
  return request({
    url: '/finance/client/deposit/save',
    method: 'post',
    data: query
  })
}

export function getDepositDetail(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/finance/client/deposit/info?depositID='+query.ID,
    method: 'get',
    data: query
  })
}